package com.thymeleaf.demo.painter;

/**
 * 画图类
 *
 * @Author wang suo
 * @Date 2020/9/29 0029 20:26
 * @Version 1.0
 */
public class Painter {
    private Shape shape;

    public void paint() {
        // 根据面积和周长画图
        shape.getArea();
        shape.getPerimeter();
    }
}
